package com.shilan.dllo.wangyi.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.shilan.dllo.wangyi.R;

/**
 * Created by dllo on 15/11/12.
 */
public class PcActivity extends AppCompatActivity{
    private Button loginBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pc_login);
        initView();
    }

    private void initView() {
        loginBtn = (Button) findViewById(R.id.loginBtn);
        loginBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(PcActivity.this , MainActivity.class);
                startActivity(intent);
                finish();
            }
        });
    }
}
